/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package unplag.core;

import unplag.filter.FileFilter;
import java.util.Comparator;
import java.util.Vector;

/**
 *
 * @author Administrator
 */
public class Detecter {
    Vector<Preprocessor> preprocessors = new Vector<Preprocessor>();
    FileFilter filter;
    Comparator comparator;

    public Detecter(FileFilter filter,Comparator comparator){
        this.filter=filter;
        this.comparator=comparator;
    }
    public void AddPreprocessor(Preprocessor p){
        this.preprocessors.add(p);
    }

    class WorkPair{
        Work work1;
        Work work2;
        private WorkPair(Work w1,Work w2){
            this.work1=w1;
            this.work2=w2;
        }
    }
}
